WPStaging\Backend\Modules\Jobs\Database B

Total Complexity 81
Dependencies 10
Dependents 1
Total lines 480
Lines of code 260
Logical lines of code 154
Comment lines 123
Methods 20
Properties 2

Methods 20

Method Rating Maintainability Complexity Lines of code
execute()
A
53 8 25
copyTable()
A
53 8 22
deleteAllTables()
S
50 7 30
startJob()
S
52 6 27
generateDto()
S
58 6 16
abortIfDirectoryNotEmpty()
S
65 6 8
abortIfDirectoryNotCreated()
S
58 5 15
addMissingTables()
S
59 5 14
initialize()
S
57 3 18
getStagingPrefix()
S
64 4 9
isExcludedTable()
S
60 2 16
isTableExist()
S
65 3 9
shouldAbortIfTableExist()
S
77 3 3
finishStep()
S
66 3 8
setJob()
S
65 3 10
abortIfPrefixContainsInvalidCharacter()
S
68 2 7
isCopyProcessStarted()
S
79 2 3
abortIfStagingPrefixEqualsProdPrefix()
S
65 2 9
abortIfExternalButNotPro()
S
69 2 7
copyData()
S
75 1 4